package com.dtw.ditouwang.beans;

import java.util.List;

public class HomeBean {

    /**
     * flag : Success
     * msg : 查询成功
     * result : true
     * data : {"info":{"gold":"0.00000","head":null},"ex_data":{"quantity":"0","mileage":0,"run":null,"walk":null,"walk_per":null,"run_per":null},"ad":[{"background":"xx.jpg","link":"http://baidu.com","address":"1"},{"background":"xx2.jpg","link":"http:baidu.com","address":"2"}],"user_act":[{"head":null,"nickname":"哈哈","a_info":"第一篇文章","img":["dtw.qsccl.coma","dtw.qsccl.comb","dtw.qsccl.comc"],"comments":0,"collection":0},{"head":null,"nickname":"aaa","a_info":"第二篇文章","img":["dtw.qsccl.coma","dtw.qsccl.comb"],"comments":0,"collection":0}],"sys_act":[{"title":"strong","comments":2000,"see":100,"cover":"/public/uploads/20181127\\ee234c1e47699ce352666e0a41968dc7.jpg"}]}
     */

    private String flag;
    private String msg;
    private boolean result;
    private DataBean data;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * info : {"gold":"0.00000","head":null}
         * ex_data : {"quantity":"0","mileage":0,"run":null,"walk":null,"walk_per":null,"run_per":null}
         * ad : [{"background":"xx.jpg","link":"http://baidu.com","address":"1"},{"background":"xx2.jpg","link":"http:baidu.com","address":"2"}]
         * user_act : [{"head":null,"nickname":"哈哈","a_info":"第一篇文章","img":["dtw.qsccl.coma","dtw.qsccl.comb","dtw.qsccl.comc"],"comments":0,"collection":0},{"head":null,"nickname":"aaa","a_info":"第二篇文章","img":["dtw.qsccl.coma","dtw.qsccl.comb"],"comments":0,"collection":0}]
         * sys_act : [{"title":"strong","comments":2000,"see":100,"cover":"/public/uploads/20181127\\ee234c1e47699ce352666e0a41968dc7.jpg"}]
         */

        private InfoBean info;
        private ExDataBean ex_data;
        private List<AdBean> ad;
        private List<UserActBean> user_act;
        private List<SysActBean> sys_act;

        public InfoBean getInfo() {
            return info;
        }

        public void setInfo(InfoBean info) {
            this.info = info;
        }

        public ExDataBean getEx_data() {
            return ex_data;
        }

        public void setEx_data(ExDataBean ex_data) {
            this.ex_data = ex_data;
        }

        public List<AdBean> getAd() {
            return ad;
        }

        public void setAd(List<AdBean> ad) {
            this.ad = ad;
        }

        public List<UserActBean> getUser_act() {
            return user_act;
        }

        public void setUser_act(List<UserActBean> user_act) {
            this.user_act = user_act;
        }

        public List<SysActBean> getSys_act() {
            return sys_act;
        }

        public void setSys_act(List<SysActBean> sys_act) {
            this.sys_act = sys_act;
        }

        public static class InfoBean {
            /**
             * gold : 0.00000
             * head : null
             */

            private String gold;
            private String head;
            private String nickname;

            public String getGold() {
                return gold;
            }

            public void setGold(String gold) {
                this.gold = gold;
            }

            public String getHead() {
                return head;
            }

            public void setHead(String head) {
                this.head = head;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }
        }

        public static class ExDataBean {
            /**
             * quantity : 0
             * mileage : 0
             * run : null
             * walk : null
             * walk_per : null
             * run_per : null
             */

            private String quantity;
            private String mileage;
            private String run;
            private String walk;
            private String walk_per;
            private String run_per;
            private float run_max;
            private float walk_max;

            public String getQuantity() {
                return quantity;
            }

            public void setQuantity(String quantity) {
                this.quantity = quantity;
            }

            public String getMileage() {
                return mileage;
            }

            public void setMileage(String mileage) {
                this.mileage = mileage;
            }

            public String getRun() {
                return run;
            }

            public void setRun(String run) {
                this.run = run;
            }

            public String getWalk() {
                return walk;
            }

            public void setWalk(String walk) {
                this.walk = walk;
            }

            public String getWalk_per() {
                return walk_per;
            }

            public void setWalk_per(String walk_per) {
                this.walk_per = walk_per;
            }

            public String getRun_per() {
                return run_per;
            }

            public void setRun_per(String run_per) {
                this.run_per = run_per;
            }

            public float getRun_max() {
                return run_max;
            }

            public void setRun_max(float run_max) {
                this.run_max = run_max;
            }

            public float getWalk_max() {
                return walk_max;
            }

            public void setWalk_max(float walk_max) {
                this.walk_max = walk_max;
            }
        }

        public static class AdBean {
            /**
             * background : xx.jpg
             * link : http://baidu.com
             * address : 1
             */

            private String background;
            private String link;
            private String address;

            public String getBackground() {
                return background;
            }

            public void setBackground(String background) {
                this.background = background;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }
        }

        public static class UserActBean {
            /**
             * head : null
             * nickname : 哈哈
             * a_info : 第一篇文章
             * img : ["dtw.qsccl.coma","dtw.qsccl.comb","dtw.qsccl.comc"]
             * comments : 0
             * collection : 0
             */

            private int id;
            private String head;
            private String nickname;
            private String a_info;
            private String comments;
            private String collection;
            private String is_collection;
            private int user_id;
            private List<String> img;

            public String getHead() {
                return head;
            }

            public void setHead(String head) {
                this.head = head;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getA_info() {
                return a_info;
            }

            public void setA_info(String a_info) {
                this.a_info = a_info;
            }

            public String getComments() {
                return comments;
            }

            public void setComments(String comments) {
                this.comments = comments;
            }

            public String getCollection() {
                return collection;
            }

            public void setCollection(String collection) {
                this.collection = collection;
            }

            public List<String> getImg() {
                return img;
            }

            public void setImg(List<String> img) {
                this.img = img;
            }

            public String getIs_collection() {
                return is_collection;
            }

            public void setIs_collection(String is_collection) {
                this.is_collection = is_collection;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }
        }

        public static class SysActBean {
            /**
             * title : strong
             * comments : 2000
             * see : 100
             * cover : /public/uploads/20181127\ee234c1e47699ce352666e0a41968dc7.jpg
             */

            private int id;
            private String title;
            private String comments;
            private String see;
            private String cover;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getComments() {
                return comments;
            }

            public void setComments(String comments) {
                this.comments = comments;
            }

            public String getSee() {
                return see;
            }

            public void setSee(String see) {
                this.see = see;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}
